<template>
	<view class="index">
		
		 <view class="status_bar">
		    <view class="top_view"></view> 
		</view>
		<view class="searchbox">
			<!-- <input type="text" class="s_input" placeholder="搜索" v-model="searchtxt" return-key-type="search" @blur="search" /> -->
			绑定手机号
		</view>	
		<view class="content">
			<view class="header_back">
				<view class="back_img" @tap="go_back">
					<image src="/static/imgs/back.png" mode="aspectFill"></image>
				</view>
				<view class="header_content">
					更换手机号
				</view>
				<view class="back_img"> </view>
			</view>
			
			<input type="number" placeholder="请输入手机号" class="inputPhone"/>
			<view class="submit">
				绑定
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		
		data(){
			return {
		
			}
		},
		methods:{
			go_back(){
				uni.navigateBack();
			}
		}
	}
</script>

<style lang="scss" scoped>
	.searchbox{
		width: 750upx;
		height: 84upx;
		background-color: #000;
		text-align: center;
		line-height: 84upx;
		color: #fff;
		font-size: 36upx;
	}
	.content {
		box-sizing: border-box;
		min-height:calc(100% + 30upx);
		position: relative;
		background-color: #fff;
		padding-top: 100upx;
		justify-content: center;
		align-content: center;
		.inputPhone{
			width: 80%;
			border-bottom: 1upx solid #DBDBDB;
			margin: 220upx auto 0;
		}
		.submit{
			width: 80%;
			height: 80upx;
			border-radius: 6upx;
			background-color: #DCC500;
			color: #fff;
			text-align: center;
			line-height: 80upx;
			font-size: 28upx;
			margin: 80upx auto;
		}
		.header_back {
			display: flex;
			align-items: center;
			height: 100upx;
			background-color: #000;
			flex-direction: row;
			position: fixed;
			top: var(--status-bar-height);
			z-index: 9;
			width: 100%;
			.header_content{
				text-align: center;
				font-size: 32upx;
				color:#fff;
				flex: 12;
			}
			.back_img {
				flex: 1;
				height: 40upx;
				margin-left: 40upx;
				margin-right: 20upx;
			
				image {
					width: 40upx;
					height: 40upx;
				}
			}
			.more_icon {
				width: 32upx;
				height: 48upx;
				flex: 2;
				display: inline-block;
				vertical-align: super;
			
				image {
					width: 48upx;
					height: 48upx;
				}
			}
		}
	}
</style>
